
     var count = 0;

 function onUserMatch(room,user,msg){

      count++;
      return room+user+msg+count;
 }


(function(arg){return arg;})("onUserMatch");//OK
//return "onUserSendMsg"; //Error,you will get a err "javax.script.ScriptException: <eval>: Invalid return statement"